package com.home766.service.impl;

import com.home766.dao.AppointmentDao;
import com.home766.entity.Appointment;
import com.home766.service.AppointmentService;
import net.biz.Page;
import net.biz.Pageable;
import net.biz.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("appointmentServiceImpl")
@Transactional
public class AppointmentServiceImpl extends BaseServiceImpl<Appointment,Long> implements AppointmentService{
	@Autowired
	private AppointmentDao appointmentDao;
	@Autowired
	public void setBaseDao(AppointmentDao appointmentDao) {
		super.setBaseDao(appointmentDao);
	}
	@Override
	public Page<Appointment> findList(Appointment appointment, Pageable pageable, String properties) {
		// TODO Auto-generated method stub
		return appointmentDao.findList(appointment, pageable,properties);
	}
}
